From: Florian Müllner Date: Tue, 29 Jan 2019 21:48:06 +0000 (+0100) Subject: networkAgent: Fix showing the WPS message X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~95 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dc4ff941bd24b60e1f6d5ea343ffd910b9966cb8;p=gnome-shell.git networkAgent: Fix showing the WPS message The message was introduced in commit dfa0750ffdbd, but added to a non-existent container, whoops. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375 --- diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 709d1c273..08697b39a 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -111,10 +111,10 @@ var NetworkSecretDialog = class extends ModalDialog.ModalDialog { descriptionLabel.clutter_text.line_wrap = true; descriptionLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; - messageBox.add(descriptionLabel, - { y_fill: true, - y_align: St.Align.START, - expand: true }); + contentBox.messageBox.add(descriptionLabel, + { y_fill: true, + y_align: St.Align.START, + expand: true }); } this._okButton = { label: _("Connect"),